$('#send_message').textbox({  
	iconCls:'icon-man', 
	iconAlign:'left' ,
	multiline:true,
});
$('#send_phone').textbox({  
	multiline:true,
});

function sendMessage(){
	var jsonData = window.systemPage.getFormData('sendMessageForm');
	//$('#send_message_button').removeAttr('onclick');
	$.ajax({
		url: 'record/addRecordService', 
		type: 'post',
	    data: jsonData,
	    success: function(data) {
	    	if(data.success){
	    		$.messager.show({
	    			title: '提示',
	    			msg: '发送成功',
	    			position: 'bottomRight',
	    			shadow:false,
	    			timeout:2000
	    		});
	    	}
	    }
	   /* complete: function() {
	    	$('#send_message_button').attr('onclick','addGroups_saveOK()');
	    }*/
	});
}
